package day2;
/*
 * 计算9的阶乘
 * 
 */
public class JC {
	public static void main(String[] args) {
		int factorial = 1;
		for(int i = 1;i <= 9;i++) {
			factorial *= i;
		}
		System.out.println("9的阶乘为：" + factorial);
	}
}
